package com.zonski.jbots.game;

import com.zonski.jbots.engine.Entity;

/**
 * Created by IntelliJ IDEA.
 * User: Chris Glover
 * Date: Oct 14, 2003
 * Time: 10:48:16 AM
 * To change this template use Options | File Templates.
 */
public interface EntityFilter
{
    /**
     * Indicates whether the entity is interesting to this filter
     * @param entity the entity that might be interesting
     * @return wether the entity is interesting
     */
    boolean isInteresting(Entity entity);

    /**
     * Indicates whether the entity is a "stopper" entity, ie, stops the search
     * @param entity the entity might be a stopper
     * @return whether the entity is a stopper
     */
    boolean isStopper(Entity entity);
}
